Skip to content

Fix tns doctor command #1298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2015

Conversation

rosen-vladimirov
Copy link
Contributor

When ANDROID_HOME environment variable is not set, we call childProcess exec and spawn with undefined command.
This leads to "futures left behind" errors.
Make sure the commands will be executed only in case they are not undefined.
Also make sure that tns prepare android will fail immediately in case ANDROID_HOME is not set (currently it shows warning for ANDROID_HOME and shows error for compile SDK).

Related issue: #1242

@rosen-vladimirov rosen-vladimirov self-assigned this Dec 3, 2015
@rosen-vladimirov rosen-vladimirov added this to the 1.5.1 milestone Dec 3, 2015
@ns-bot
Copy link

ns-bot commented Dec 3, 2015

Test PASSed.

@teobugslayer
Copy link
Contributor

👍

1 similar comment
@vchimev
Copy link

vchimev commented Dec 3, 2015

👍

When ANDROID_HOME environment variable is not set, we call childProcess exec and spawn with undefined command.
This leads to "futures left behind" errors.
Make sure the commands will be executed only in case they are not undefined.
Also make sure that `tns prepare android` will fail immediately in case ANDROID_HOME is not set (currently it shows warning for ANDROID_HOME and shows error for compile SDK).
@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/fix-android-home-log-trace branch from 10699a2 to 4834e80 Compare December 3, 2015 09:02
@ns-bot
Copy link

ns-bot commented Dec 3, 2015

Test PASSed.

rosen-vladimirov added a commit that referenced this pull request Dec 3, 2015
@rosen-vladimirov rosen-vladimirov merged commit 85c4ecf into release Dec 3, 2015
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-android-home-log-trace branch December 3, 2015 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants